package com.xlhj.yucloud.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: liucaijing
 * @description: 状态枚举
 * @date: 2021/9/26 8:45
 */
@Getter
@AllArgsConstructor
public enum StatusEnum {

    NORMAL(0, "正常"),
    UNUSED(1, "停用");

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String descp;
}
